package com.ruoyi.ruoyiserver.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;


/**
 * 【请填写功能名称】对象 pe_backup
 *
 * @author ruoyi
 * @date 2025-01-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PeBackup
{
    private static final long serialVersionUID = 1L;

    /** 主建 */
    private String id;

    /** 备份任务名称 */
    @Excel(name = "备份任务名称")
    private String title;

    /** 备份类型，备份类型：导入备份，手动备份，定时备份 */
    @Excel(name = "备份类型：导入备份，手动备份，定时备份")
    private String type;

    /** 备份路径 */
    @Excel(name = "备份路径")
    private String path;

    /** 是否是当前版本 */
    @Excel(name = "是否是当前版本")
    private String current;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String remark;

}
